package com.stylefeng.guns.modular.verbal.warpper;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

import java.util.Map;

public class ArticleWarpper extends BaseControllerWarpper {
   public ArticleWarpper(Object o){
         super(o);
   }

    @Override
    protected void warpTheMap(Map<String, Object> map) {
        String typeCodeName = ConstantFactory.me().getDictNameByNum("verbalType",  map.get("typeCode").toString());
        map.put("typeCodeName",typeCodeName);
    }

}
